package com.shop.cereshop.app.dl.logic.domain;

import java.io.Serializable;
import java.util.Date;

public class CareShopNews implements Serializable {
    /**
     * 资讯id
     */
    private Long newsId;
    /**
     * 审核人id
     */
    private Long platformUserId;
    /**
     * 发布人序号
     */
    private Long businessUserId;
    /**
     * 店铺序号
     */
    private Long shopId;
    /**
     * 商品序号
     */
    private Long productId;
    /**
     * 资讯标题
     */
    private String title;
    /**
     * 发布时间
     */
    private Date pubTime;
    /**
     * 发布作者
     */
    private String author;
    /**
     * 点击数
     */
    private Integer hits;
    /**
     * 转发数
     */
    private Integer repeats;
    /**
     * 审核标记
     */
    private String auditFlag;
    /**
     * 推荐标记
     */
    private String recommendFlag;

    private String bannerImageUrl;

    private String bannerFlag;

    private String mapPath;

    private String columnImageUrl;

    private String delFlag;
    private String content;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    private static final long serialVersionUID = 1L;

    public Long getNewsId() {
        return newsId;
    }

    public void setNewsId(Long newsId) {
        this.newsId = newsId;
    }

    public Long getPlatformUserId() {
        return platformUserId;
    }

    public void setPlatformUserId(Long platformUserId) {
        this.platformUserId = platformUserId;
    }

    public Long getBusinessUserId() {
        return businessUserId;
    }

    public void setBusinessUserId(Long businessUserId) {
        this.businessUserId = businessUserId;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Date getPubTime() {
        return pubTime;
    }

    public void setPubTime(Date pubTime) {
        this.pubTime = pubTime;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author == null ? null : author.trim();
    }

    public Integer getHits() {
        return hits;
    }

    public void setHits(Integer hits) {
        this.hits = hits;
    }

    public Integer getRepeats() {
        return repeats;
    }

    public void setRepeats(Integer repeats) {
        this.repeats = repeats;
    }

    public String getAuditFlag() {
        return auditFlag;
    }

    public void setAuditFlag(String auditFlag) {
        this.auditFlag = auditFlag == null ? null : auditFlag.trim();
    }

    public String getRecommendFlag() {
        return recommendFlag;
    }

    public void setRecommendFlag(String recommendFlag) {
        this.recommendFlag = recommendFlag == null ? null : recommendFlag.trim();
    }

    public String getBannerImageUrl() {
        return bannerImageUrl;
    }

    public void setBannerImageUrl(String bannerImageUrl) {
        this.bannerImageUrl = bannerImageUrl == null ? null : bannerImageUrl.trim();
    }

    public String getBannerFlag() {
        return bannerFlag;
    }

    public void setBannerFlag(String bannerFlag) {
        this.bannerFlag = bannerFlag == null ? null : bannerFlag.trim();
    }

    public String getMapPath() {
        return mapPath;
    }

    public void setMapPath(String mapPath) {
        this.mapPath = mapPath == null ? null : mapPath.trim();
    }

    public String getColumnImageUrl() {
        return columnImageUrl;
    }

    public void setColumnImageUrl(String columnImageUrl) {
        this.columnImageUrl = columnImageUrl == null ? null : columnImageUrl.trim();
    }

    public String getdelFlag() {
        return delFlag;
    }

    public void setdelFlag(String delFlag) {
        this.delFlag = delFlag == null ? null : delFlag.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", newsId=").append(newsId);
        sb.append(", platformUserId=").append(platformUserId);
        sb.append(", businessUserId=").append(businessUserId);
        sb.append(", shopId=").append(shopId);
        sb.append(", productId=").append(productId);
        sb.append(", title=").append(title);
        sb.append(", pubTime=").append(pubTime);
        sb.append(", author=").append(author);
        sb.append(", hits=").append(hits);
        sb.append(", repeats=").append(repeats);
        sb.append(", auditFlag=").append(auditFlag);
        sb.append(", recommendFlag=").append(recommendFlag);
        sb.append(", bannerImageUrl=").append(bannerImageUrl);
        sb.append(", bannerFlag=").append(bannerFlag);
        sb.append(", mapPath=").append(mapPath);
        sb.append(", columnImageUrl=").append(columnImageUrl);
        sb.append(", delFlag=").append(delFlag);
        sb.append("]");
        return sb.toString();
    }
}